Tight Exact and Approximate Algorithmic Results on Token Swapping
نویسندگان
چکیده
Given a graph G = (V,E) with V = {1, . . . , n}, we place on every vertex a token T1, . . . , Tn. A swap is an exchange of tokens on adjacent vertices. We consider the algorithmic question of finding a shortest sequence of swaps such that token Ti is on vertex i. We are able to achieve essentially matching upper and lower bounds, for exact algorithms and approximation algorithms. For exact algorithms, we rule out 2 algorithm under ETH. This is matched with a simple 2 logn) algorithm based on dynamic programming. We show one general 4-approximations and show APX-hardness. Thus, there is a small constant δ > 1 such that every polynomial time approximation algorithm has approximation factor at least δ. Our results also hold for a generalized version, where tokens and vertices are colored. In this generalized version each token must go to a vertex with the same color. ar X iv :1 60 2. 05 15 0v 2 [ cs .C C ] 2 J ul 2 01 6
منابع مشابه
Approximation and Hardness of Token Swapping
Given a graph G = (V,E) with V = {1, . . . , n}, we place on every vertex a token T1, . . . , Tn. A swap is an exchange of tokens on adjacent vertices. We consider the algorithmic question of finding a shortest sequence of swaps such that token Ti is on vertex i. We are able to achieve essentially matching upper and lower bounds, for exact algorithms and approximation algorithms. For exact algo...
متن کاملThe Time Complexity of the Token Swapping Problem and Its Parallel Variants
The problems of Permutation Routing via Matching and Token Swapping are reconfiguration problems on graphs. This paper is concerned with the complexity of those problems and a colored variant. For a given graph where each vertex has a unique token on it, those problems require to find a shortest way to modify a token placement into another by swapping tokens on adjacent vertices. While all pair...
متن کاملSwapping Colored Tokens on Graphs
We investigate the computational complexity of the following problem. We are given a graph in which each vertex has an initial and a target color. Each pair of adjacent vertices can swap their current colors. Our goal is to perform the minimum number of swaps so that the current and target colors agree at each vertex. When the colors are chosen from {1, 2, . . . , c}, we call this problem c-Col...
متن کاملComplexity of Finding Perfect Bipartite Matchings Minimizing the Number of Intersecting Edges
Consider a problem where we are given a bipartite graph H with vertices arranged on two horizontal lines in the plane, such that the two sets of vertices placed on the two lines form a bipartition of H . We additionally require that H admits a perfect matching and assume that edges of H are embedded in the plane as segments. The goal is to compute the minimal number of intersecting edges in a p...
متن کاملExact and approximate solutions of fuzzy LR linear systems: New algorithms using a least squares model and the ABS approach
We present a methodology for characterization and an approach for computing the solutions of fuzzy linear systems with LR fuzzy variables. As solutions, notions of exact and approximate solutions are considered. We transform the fuzzy linear system into a corresponding linear crisp system and a constrained least squares problem. If the corresponding crisp system is incompatible, then the fuzzy ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1602.05150 شماره
صفحات -
تاریخ انتشار 2016